import request from '@/utils/request'

// 查询CmsArchivesTip列表
export function listCmsArchivesTip(query) {
return request({
url: '/api/v1/cms/tipList',
method: 'get',
params: query
})
}

// 查询CmsArchivesTip详细
export function getCmsArchivesTip (tipId) {
return request({
url: '/api/v1/cms/tip/' + tipId,
method: 'get'
})
}


// 新增CmsArchivesTip
export function addCmsArchivesTip(data) {
return request({
url: '/api/v1/cms/tip',
method: 'post',
data: data
})
}

// 修改CmsArchivesTip
export function updateCmsArchivesTip(data) {
return request({
url: '/api/v1/cms/tip',
method: 'put',
data: data
})
}

// 删除CmsArchivesTip
export function delCmsArchivesTip(tipId) {
return request({
url: '/api/v1/cms/tip/' + tipId,
method: 'delete'
})
}

